/*
发运计划固定设备

*/
import httpRequest from '@/utils/httpRequest'

// 获取发运计划固定设备列表
export function getList (data) {
  return httpRequest({
    url: '/transportPlan/fixEquip/list',
    method: 'get',
    params: data
  })
}
// 新增发运计划固定设备
export function edit (data) {
  return httpRequest({
    url: '/transportPlan/fixEquip/save',
    method: 'post',
    data: data,
    headers: {'Content-Type': 'application/json; charset=utf-8'}
  })
}
// 删除发运计划固定设备
export function del (data) {
  return httpRequest({
    url: '/transportPlan/fixEquip/delete',
    method: 'post',
    data: data
  })
}
// 更改发运计划固定设备状态
export function modifyState (data) {
  return httpRequest({
    url: '/transportPlan/fixEquip/modifyState',
    method: 'post',
    data: data,
    headers: {'Content-Type': 'application/json; charset=utf-8'}
  })
}
// 获取设备下拉
export function getEquipList (data) {
  return httpRequest({
    url: '/equip/register/list',
    method: 'get',
    params: data
  })
}
